printing first n natural numbers using loop in c language